package com.love.travel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.love.common.core.annotation.Excel;
import com.love.common.core.web.domain.BaseEntity;

/**
 * 行程-景点关联对象 travel_itinerary_attraction
 * 
 * @author love
 * @date 2025-10-24
 */
public class TravelItineraryAttraction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 行程ID（关联travel_product_itinerary） */
    @Excel(name = "行程ID", readConverterExp = "关=联travel_product_itinerary")
    private Long itineraryId;

    /** 景点ID（关联travel_attraction） */
    @Excel(name = "景点ID", readConverterExp = "关=联travel_attraction")
    private Long attractionId;

    /** 参观顺序（值越小越靠前） */
    @Excel(name = "参观顺序", readConverterExp = "值=越小越靠前")
    private Long visitOrder;

    /** 停留时间（如：约2小时） */
    @Excel(name = "停留时间", readConverterExp = "如=：约2小时")
    private String stayTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setItineraryId(Long itineraryId) 
    {
        this.itineraryId = itineraryId;
    }

    public Long getItineraryId() 
    {
        return itineraryId;
    }

    public void setAttractionId(Long attractionId) 
    {
        this.attractionId = attractionId;
    }

    public Long getAttractionId() 
    {
        return attractionId;
    }

    public void setVisitOrder(Long visitOrder) 
    {
        this.visitOrder = visitOrder;
    }

    public Long getVisitOrder() 
    {
        return visitOrder;
    }

    public void setStayTime(String stayTime) 
    {
        this.stayTime = stayTime;
    }

    public String getStayTime() 
    {
        return stayTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itineraryId", getItineraryId())
            .append("attractionId", getAttractionId())
            .append("visitOrder", getVisitOrder())
            .append("stayTime", getStayTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
